AudioStream is a basic script to playback audio from a Youtube video via youtube-dl and mplayer.

It is particularly useful for playback of albums, concerts etc which otherwise would tax a PowerPC Mac whilst buffering the long video.

Once AudioStream has parsed the URL, playback uses minimal CPU - around 10% on my 800Mhz G4 iMac.

To cancel playback at any point press ctrl+c

REQUIREMENTS

The latest youtube-dl is required:
http://ytdl-org.github.io/youtube-dl/download.html

Python is also required for youtube-dl to run:
https://www.python.org/downloads/release/python-278/

On Tiger, the youtube-dl executable should be placed in:
/bin

Once placed, enter this command in Terminal:
sudo chmod a+rx /bin/youtube-dl

On Leopard, the youtube-dl executable should be placed in:
/usr/local/bin

Once placed, enter this command in Terminal:
sudo chmod a+rx /usr/local/bin/youtube-dl

INSTALLATION AND HOW TO USE

From the AudioStream archive place streamer into /Applications 
AudioStream can be placed anywhere convenient eg Documents and a shortcut made in the Dock.

To use, copy your chosen Youtube URL - this can either be from the video's page or from it's listing in a search result.
Then click the AudioStream shortcut in the Dock, Terminal will open and activate youtube-dl - the parsing of the URL can take a while on slower G4 but once the stream is downloading, mplayer will execute and start playing the audio.

Terminal will close once the stream is finished.
